import { createApp } from 'vue'
import 'normalize.css'
import './assets/css/index.less'
import { registerApp } from './global/index'

import App from './App.vue'
import router from './router'
import store from './store'
// import locale from 'element-plus/lib/locale/lang/zh-cn'
import { dialogDrag } from './directives'
import 'dayjs/locale/zh-cn' //中文
const app = createApp(App)

//注册自定义指令
app.use(dialogDrag)
registerApp(app)
app.use(store)
app.use(router)
app.mount('#app')
